﻿@model  List<ZX.OA.Model.MessageInfo>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>通讯录</title>
</head>
<body>
    <div>
        <a href="/Home/AddMessage">添加</a>
        <table>
            <tr>
                <th width ="10%" class="mian_b_bg_lm">联系人姓名</th>
                <th width="10%" class="mian_b_bg_lm">联系人工作</th>
                <th width="10%" class="mian_b_bg_lm">联系人邮箱</th>
                <th width="10%" class="mian_b_bg_lm">联系人电话</th>
                <th width="10%" class="mian_b_bg_lm">联系人备注</th>
                <th colspan="2">操作</th>
            </tr>
            @foreach (var item in Model)
            {
                <tr>
                    <td>@item.MseeageName</td>
                    <td>@item.MseeageJob</td>
                    <td>@item.MseeageEmail</td>
                    <td>@item.MseeageTel</td>
                    <td>@item.MseeageRemark</td>
                    <td><a href="/Home/DelMessage/?nid=@item.MseeageId" onclick="return confirm('确定要删除吗？')">删除</a></td>
                    <td><a href="/Home/updateMessage/?nid=@item.MseeageId">修改</a></td>
                </tr>
            }
        </table>
    </div>
</body>
</html>
